<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>公共组件-首页</title>
    <link rel="stylesheet" type="text/css" href="/commons/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="/commons/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="/commons/css/demo.css">
    <script type="text/javascript" src="/commons/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="/commons/js/jquery.easyui.min.js"></script>
</head>
<body>
<div id="tabs" class="easyui-tabs" data-options="fit:true,border:true" style="width:100%;height:100%;">
	<div title="日志查询" style="overflow: auto;padding:20px;" data-options="closeable:true">
    	<iframe id="tab_log" width=100% height=90% scrolling='no' frameborder=0></iframe>
    </div>
	<div title="动态路由配置" style="overflow: auto;padding:20px;">
    	<iframe id="tab_zuul" width=100% height=90% scrolling='auto' frameborder=0></iframe>
    </div>
    <div title="数据字典维护" style="overflow: auto;padding:20px;" data-options="closeable:true">
    	<iframe id="tab_dict" width=100% height=90% scrolling='auto' frameborder=0></iframe>
    </div>
    <div title="工作流配置" style="overflow: auto;padding:20px;" data-options="closeable:true">
    	<iframe id="tab_flow" width=100% height=99% scrolling='no' frameborder=0></iframe>
    </div>
    <div title="定时任务配置" style="overflow: auto;padding:20px;" data-options="closeable:true">
    	<iframe id="tab_task" width=100% height=99% scrolling='no' frameborder=0></iframe>
    </div>
    <div title="快速部署" style="overflow: auto;padding:20px;" data-options="closeable:true">
    	<iframe id="tab_deploy" width=100% height=99% scrolling='auto' frameborder=0></iframe>
    </div>
    <div title="用户日志" style="overflow: auto;padding:20px;" data-options="closeable:true">
    	<iframe id="tab_user_log" width=100% height=99% scrolling='auto' frameborder=0></iframe>
    </div>
</div>
</body>
<script type="text/javascript">
$('#tabs').tabs({
	onSelect : function(title,index){
		if (index == 0) {
			$('#tab_log').attr("src","/log.html");
		} else if (index == 1) {
			$('#tab_zuul').attr("src","/zuul/zuul-config.html");
		} else if (index == 2) {
			$('#tab_dict').attr("src","/comm-dictionary-server/dict.html");
		} else if (index == 3) {
			$('#tab_flow').attr("src","/comm-work-flow-server/workflow/workflowinfo/flow-manage.html");
		} else if (index == 4) {
			$('#tab_task').attr("src","/comm-schedule-server/task/index.html");
		} else if (index == 5) {
			$('#tab_deploy').attr("src","/comm-quick-deploy-server/index.html");
		} else if (index == 6) {
			$('#tab_user_log').attr("src","/comm-user-auth-server/index.html");
		} 
	}
	
});

</script>
</html>